//
//  UploadService.h
//  WisdomStar
//
//  Created by 谭飞 on 2018/11/13.
//  Copyright © 2018年 zhangliwen. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, UploadType) {
    UploadTypeImage, // 上传图片
    UploadTypeVideo  // 上传视频
};

NS_ASSUME_NONNULL_BEGIN

@interface UploadService : NSObject

/**
 获取七牛上传token
 
 @param params params
 @param complete call back
 */
+ (void)getQnUploadInfoWithType:(UploadType)type params:(nullable NSMutableDictionary *)params completion:(void(^)(id result))complete;

@end

NS_ASSUME_NONNULL_END
